<!doctype html> 
<html> 
<head> 
    <meta charset="utf-8"> 
    <title></title> 
</head>
<body>
<script type="text/javascript">
var a = 'a981SykxUECihdaYkjhds';
//alert(a.indexOf('y'));
//var l = 'y';
//var c = new RegExp(l);
//var c = new RegExp('xueci','i');
/*
/xueci/i
*/
//['1']

alert(a.match(/[b-z]/i));
//alert(a.search(/y/));
</script>
</body>
</html>